import App from '@system.app';
import { deviceInfo } from '@kit.BasicServicesKit';
export interface AppSize {
  cancelConfrimDialogWidth:number;
}

const appSize_phone:AppSize = {
  cancelConfrimDialogWidth : 300
}
let _appSize = undefined;


export const appSize = (()=>{
  if(_appSize == undefined) {
    if(deviceInfo.deviceType == "phone") {
      return _appSize = appSize_phone;
    }
    else {
      _appSize = appSize_phone;
    }
  }
  return _appSize!
})();

